< previous page page_704 next page >

Page 704
Once you are ready, click the Finish command button to have the files copied to the deployment folder or disks. Once the deployment process is complete, a report will be displayed that tells you the results of the deployment, as shown in Figure 34.16.
8160-0704a.gif
Figure 34.16
A deployment report.
What's a Dependency File?
A dependency file is a text file that closely resembles an INI file. It usually has a .DEP file extension and the same name as the component for which it contains dependency information. If you create any ActiveX components, you should generate a dependency file using the P&D Wizard. The P&D Wizard looks for this DEP file when you include your component in another project. It can then read this file to determine what other files need to be included in the setup of this application.
Its important that any dependency information is included with the components; otherwise, the application that uses these components might not run correctly because a file is not included that needs to be there. All the components included in the Visual Basic 6 package have dependency information in the vb6dep.ini file. The P&D Wizard will always check this file when it creates an installation.
What Can You Distribute from Visual Basic?
With all the different controls, DLLs, and graphics files that come with Visual Basic, its sometimes hard to determine what you can and cannot distribute. Anything that comes with the Visual Basic development environment can be freely distributed. This even includes the source code in the Samples directory and in the Setup Toolkit.

 
< previous page page_704 next page >

If you like this book, buy it!